#include<iostream>
using namespace std;
class Location{
	private:
		int x,y;
		public:
			void Init(int x=0,int y=0);
			void valueX(int val){x=val;
			}
			int valueX(){
				return x;
			}
};
void Location::Init(int X,int Y)
{
	x=X;
	y=Y;
}
int main(){
	Location a;
	a.valueX(5);
	a.valueX();
	return 0;
}